package com.mine.jzh.mapper;

import com.mine.jzh.SysEnum;
import org.springframework.stereotype.Service;

@Service
public class SysEnumMapperImpl implements SysEnumMapper {
    @Override
    public SysEnum selectByDictCodeAndCode(String dictCode, String code) {
        if (dictCode.equals("OSS_CONFIG")) {
            return SysEnum.getSSOConfig();
        }
        if (dictCode.equals("images")) {
            return SysEnum.getPathConfig();
        }
        return SysEnum.getSSOConfig();
    }
}
